package com.wanhong.springboot.ssm.service.enums;

/**
 * @author w_yu
 * @date 2020/11/27 15:13
 * @desc
 */
public enum ValidEnum {

    INVALID(0,"无效"),
    VALID(1,"有效")
    ;



    private Integer state;
    private String desc;

    ValidEnum(Integer state, String desc) {
        this.state = state;
        this.desc = desc;
    }

    public Integer getState() {
        return state;
    }

    public String getDesc() {
        return desc;
    }


}
